<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=">
    <title>用户注册</title>
    <link href="__PUBLIC__/css/demo.css" rel="stylesheet" />
    <script type="text/javascript" src="__PUBLIC__/js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/layer/layer.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/demo.js"></script>
</head>
<body>
<div id="dloginbox">
    <div class="loginitem"><input name="username" type="text"  id="txtUserName" placeholder="请输入您的用户名"/></div>
    <div class="loginitem"><input name="password" type="password" id="txtPwd" placeholder="请输入您的密码" /></div>
    <div class="loginitem"><a href="javascript:;" onClick="register()">注册</a></div>
    <div class="register"><a href="{:U('User/login')}">已有帐号,马上登录>></a></div>
</div>
</body>
<script>
    // 设定AJAX发送请求时的URL地址
    var url = "{:U('User/register')}";
    // 设置注册框左上方的显示标题
    var title = "注册";
    $(function(){
        ShowWindow();
    })
</script>
</html>
